package com.yq.design.responsibility;

/**
 * @ClassName PurchaseRequest
 * @Description purchase的请求类
 * @Author yaoqiang
 * @Date 2021/8/25 10:52
 * @Version 1.0
 */
public class PurchaseRequest {
    private int id=0;
    private float price=0.0f;
    private int type=0;

    public PurchaseRequest(int id, float price, int type) {
        this.id = id;
        this.price = price;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public float getPrice() {
        return price;
    }

    public int getType() {
        return type;
    }
}
